pyqt qtableview get selected row data

129

pyqt qtableview get selected row data -

indexes = table.selectionModel().selectedRows()
    for index in sorted(indexes):
        print('Row %d is selected' % index.row())

Comments

Submit
0 Comments